#!/usr/bin/env python
'''
project euler 5

2520 is the smallest number that can be divided by each of the numbers from 1 to 10 without any remainder.

What is the smallest positive number that is evenly divisible by all of the numbers from 1 to 20?

'''

number = 20
while True:
	div_number = range(1, 21, 1)
	for x in div_number:
		if (number % x) == 0:
			#print number, " is divided by ", x 
			if x == 20:
				print "the number you're looking for is ", number
			continue
		else:
			#print number, " is not divided by ", x
			break
	if number == 250000000:
		break
	number += 1
